From: Rui Matos Date: Thu, 13 Dec 2012 20:37:09 +0000 (+0100) Subject: panel: Remove unused method X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5108 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=906ec3c8a9afd3875ee739282af3e532400e9687;p=gnome-shell.git panel: Remove unused method https://bugzilla.gnome.org/show_bug.cgi?id=690180 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index 76bbfb080..3845dd0bb 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -1148,18 +1148,6 @@ const Panel = new Lang.Class({ this._addStyleClassName(this._sessionStyle); }, - _initBox: function(elements, box) { - for (let i = 0; i < elements.length; i++) { - let role = elements[i]; - let constructor = PANEL_ITEM_IMPLEMENTATIONS[role]; - if (!constructor) { - // panel icon is not supported (can happen for - // bluetooth or network) - continue; - } - } - }, - _hideIndicators: function() { for (let role in PANEL_ITEM_IMPLEMENTATIONS) { let indicator = this.statusArea[role];